package com.epoint.mobileoa.tools;

import java.io.File;
import java.io.FilenameFilter;

/**
 * 过滤文件类型
 * 
 * @author lilin
 * @date 2011-12-12 下午09:19:15
 * @ClassName: MusicFileFilter
 */
public class MusicFileFilter implements FilenameFilter {
	public boolean accept(File dir, String name) {
		return (name.endsWith(".amr") || name.endsWith(".mp3"));
	}
}
